import { axios } from '@/utils/request'
export function studentCourse(params) {
    return axios({
      url: 'school/unsubscribe/student-course',
      method: 'post',
      data: params
    })
  }
  export function studentCourseList(id,params) {
    return axios({
      url: `/school/students/${id}/student-course-list`,
      method: 'post',
      data:params
    })
  }
  export function studentCourseList1(params) {
    return axios({
      url: `/school/unsubscribe/structure-list`,
      method: 'post',
      data:params
    })
  }
  export function createReturnCourse(params) {
    return axios({
      url: `/school/unsubscribe/create`,
      method: 'post',
      data:params
    })
  }
  export function studentGoods(params) {
    return axios({
      url: '/school/unsubscribe/student-goods',
      method: 'post',
      data: params
    })
  }
  export function studentCost(params) {
    return axios({
      url: '/school/unsubscribe/student-cost',
      method: 'post',
      data: params
    })
  }
  export function createTransferCourse(params) {
    return axios({
      url: '/school/unsubscribe/create-transfer-course',
      method: 'post',
      data: params
    })
  }
//查询所有校区
export function lookStructures(params) {
  return axios({
    url: '/school/structures/campus-list',
    method: 'post',
    data: params
  })
}